#include "hal_board.h"
#include "hal_digio.h"
#include "hal_mcu.h"
#include "demo_app.h"
#include "hal_uart.h"

void demo_app()
{
	uint8 buf[20], len;
	
	while(1)
	{
		len = halUARTRead(TRACE_PORT, buf, sizeof(buf));
		if(len != 0)
			halUARTWrite(TRACE_PORT, buf, len);
	}
}